<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxMath.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('PxMath_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">PxMath.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="PxMath_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// are met:</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  * Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//  * Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//    documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//  * Neither the name of NVIDIA CORPORATION nor the names of its</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">//    contributors may be used to endorse or promote products derived</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//    from this software without specific prior written permission.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS &#39;&#39;AS IS&#39;&#39; AND ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// Copyright (c) 2008-2021 NVIDIA Corporation. All rights reserved.</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef PXFOUNDATION_PXMATH_H</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define PXFOUNDATION_PXMATH_H</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxPreprocessor_8h.html">foundation/PxPreprocessor.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#if PX_VC</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#pragma warning(push)</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#pragma warning(disable : 4985) // &#39;symbol name&#39;: attributes not present on previous declaration</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &lt;math.h&gt;</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#if PX_VC</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#pragma warning(pop)</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &lt;float.h&gt;</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxIntrinsics_8h.html">foundation/PxIntrinsics.h</a>&quot;</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxSharedAssert_8h.html">foundation/PxSharedAssert.h</a>&quot;</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacephysx.html">physx</a></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;{</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">// constants</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">   58</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a> = float(3.141592653589793);</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__foundation.html#ga17a46314a8577460d3840466cb12a331">   59</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga17a46314a8577460d3840466cb12a331">PxHalfPi</a> = float(1.57079632679489661923);</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__foundation.html#ga3773ce018f51c7f8f2c061faab2d411b">   60</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga3773ce018f51c7f8f2c061faab2d411b">PxTwoPi</a> = float(6.28318530717958647692);</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__foundation.html#gad5970e1d62cfec4e6872517638e7ee61">   61</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gad5970e1d62cfec4e6872517638e7ee61">PxInvPi</a> = float(0.31830988618379067154);</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__foundation.html#gaee8f7127123da8f1a6aba82ee0bab638">   62</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gaee8f7127123da8f1a6aba82ee0bab638">PxInvTwoPi</a> = float(0.15915494309189533577);</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__foundation.html#gaadbc7232bb8117014d359b6e63967170">   63</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gaadbc7232bb8117014d359b6e63967170">PxPiDivTwo</a> = float(1.57079632679489661923);</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group__foundation.html#gacb4cd96e4188d5cc377ab184d5eef081">   64</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gacb4cd96e4188d5cc377ab184d5eef081">PxPiDivFour</a> = float(0.78539816339744830962);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group__foundation.html#gaa014664f566202f7be1b2caa5625ffd6">   70</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> T <a class="code" href="group__foundation.html#gaa014664f566202f7be1b2caa5625ffd6">PxMax</a>(T a, T b)</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;{</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordflow">return</span> a &lt; b ? b : a;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;}</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="keyword">template</span> &lt;&gt;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="group__foundation.html#gab1eb4b15bf78c96fd1a5f926bfe1da4e">   77</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gaa014664f566202f7be1b2caa5625ffd6">PxMax</a>(<span class="keywordtype">float</span> a, <span class="keywordtype">float</span> b)</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;{</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacephysx_1_1intrinsics.html#a50b7966b3196dc1a6c4d9b611627ed9d">intrinsics::selectMax</a>(a, b);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;}</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">   86</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> T <a class="code" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a>(T a, T b)</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;{</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keywordflow">return</span> a &lt; b ? a : b;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;}</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">template</span> &lt;&gt;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group__foundation.html#ga103f28ff1f24bc29c4167ca49b13c200">   93</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a>(<span class="keywordtype">float</span> a, <span class="keywordtype">float</span> b)</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;{</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacephysx_1_1intrinsics.html#af05df5a859fc7e8aa5ce37e7a511d657">intrinsics::selectMin</a>(a, b);</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;}</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="comment">Many of these are just implemented as PX_CUDA_CALLABLE PX_FORCE_INLINE calls to the C lib right now,</span></div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">but later we could replace some of them with some approximations or more</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment">clever stuff.</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="group__foundation.html#gaf72e1dce9e874da7b92cbc0ea5e4e30d">  107</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gaf72e1dce9e874da7b92cbc0ea5e4e30d">PxAbs</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;{</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacephysx_1_1intrinsics.html#a1b8acec0126e65de2a202041259dbc24">intrinsics::abs</a>(a);</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;}</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="group__foundation.html#gabb5e8a2eee08bb16174c87dedbe49498">  112</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="group__foundation.html#gabb5e8a2eee08bb16174c87dedbe49498">PxEquals</a>(<span class="keywordtype">float</span> a, <span class="keywordtype">float</span> b, <span class="keywordtype">float</span> eps)</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;{</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keywordflow">return</span> (<a class="code" href="group__foundation.html#gaf72e1dce9e874da7b92cbc0ea5e4e30d">PxAbs</a>(a - b) &lt; eps);</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;}</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="group__foundation.html#ga50d4d7247809d26270bd731bdc394793">  120</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">double</span> <a class="code" href="group__foundation.html#gaf72e1dce9e874da7b92cbc0ea5e4e30d">PxAbs</a>(<span class="keywordtype">double</span> a)</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;{</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    return ::fabs(a);</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;}</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="group__foundation.html#gadf64a1111c7dfd07290aed0cf3277098">  128</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> int32_t <a class="code" href="group__foundation.html#gaf72e1dce9e874da7b92cbc0ea5e4e30d">PxAbs</a>(int32_t a)</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;{</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <a class="code" href="PxWindowsIntrinsics_8h.html#a1cf5e31b1076fc655d2a46a5257d6590">return ::abs</a>(a);</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;}</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="group__foundation.html#ga9564f55a7dca0986938b8a03e78d6f9f">  137</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> T <a class="code" href="group__foundation.html#ga9564f55a7dca0986938b8a03e78d6f9f">PxClamp</a>(T v, T lo, T hi)</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;{</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <a class="code" href="group__foundation.html#ga07ffc52cd4afa8e797a5fe6e1cb7e17a">PX_SHARED_ASSERT</a>(lo &lt;= hi);</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a>(hi, <a class="code" href="group__foundation.html#gaa014664f566202f7be1b2caa5625ffd6">PxMax</a>(lo, v));</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;}</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="group__foundation.html#ga11d5e4e77acad728886b380b5f3806f0">  144</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga11d5e4e77acad728886b380b5f3806f0">PxSqrt</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;{</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacephysx_1_1intrinsics.html#a8dcc85a5e81948939ab66345dbcc3bbb">intrinsics::sqrt</a>(a);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;}</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="group__foundation.html#ga23fec839e8daf10494d43640dca49e09">  150</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">double</span> <a class="code" href="group__foundation.html#ga11d5e4e77acad728886b380b5f3806f0">PxSqrt</a>(<span class="keywordtype">double</span> a)</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;{</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <a class="code" href="PxWindowsIntrinsics_8h.html#a93316de46822f61a4fb79f603d05be61">return ::sqrt</a>(a);</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;}</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="group__foundation.html#gacd945627f345ba03e83a30387ab99dea">  156</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gacd945627f345ba03e83a30387ab99dea">PxRecipSqrt</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;{</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacephysx_1_1intrinsics.html#a08df84250266fb3fdc92737e25211e40">intrinsics::recipSqrt</a>(a);</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;}</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="group__foundation.html#ga2e96f326a9b29ecb2cbe00f2f7662cf0">  162</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">double</span> <a class="code" href="group__foundation.html#gacd945627f345ba03e83a30387ab99dea">PxRecipSqrt</a>(<span class="keywordtype">double</span> a)</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;{</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    <span class="keywordflow">return</span> 1 / <a class="code" href="PxWindowsIntrinsics_8h.html#a93316de46822f61a4fb79f603d05be61">::sqrt</a>(a);</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;}</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="group__foundation.html#ga98f571cc01fc3aa0e73e215c27ab8069">  170</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga98f571cc01fc3aa0e73e215c27ab8069">PxSin</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;{</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacephysx_1_1intrinsics.html#a5bc50b113da405bd05de0630836571db">intrinsics::sin</a>(a);</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;}</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="group__foundation.html#ga56576468182972ec8511c7dd20f47a4d">  176</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">double</span> <a class="code" href="group__foundation.html#ga98f571cc01fc3aa0e73e215c27ab8069">PxSin</a>(<span class="keywordtype">double</span> a)</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;{</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <a class="code" href="PxWindowsIntrinsics_8h.html#ae1934f6d8ecf82dbfb597f965fb09846">return ::sin</a>(a);</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;}</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="group__foundation.html#gacc501523ad3ab46c5a061c4442d10fcf">  182</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gacc501523ad3ab46c5a061c4442d10fcf">PxCos</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;{</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacephysx_1_1intrinsics.html#a2b6304c3d6e0b90be513f31aa224f4be">intrinsics::cos</a>(a);</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;}</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="group__foundation.html#ga903d59eeddf0328e54f1caf8efddf2fc">  188</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">double</span> <a class="code" href="group__foundation.html#gacc501523ad3ab46c5a061c4442d10fcf">PxCos</a>(<span class="keywordtype">double</span> a)</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;{</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <a class="code" href="PxWindowsIntrinsics_8h.html#a87498b7c02e15d4a59213016c7d1f4e8">return ::cos</a>(a);</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;}</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="group__foundation.html#ga7b8deaee36a7d45581d4706ae6c9905b">  197</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga7b8deaee36a7d45581d4706ae6c9905b">PxTan</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;{</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    return ::tanf(a);</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;}</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="group__foundation.html#ga3ad36c60750fd7773dd217aa681ee0d1">  206</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">double</span> <a class="code" href="group__foundation.html#ga7b8deaee36a7d45581d4706ae6c9905b">PxTan</a>(<span class="keywordtype">double</span> a)</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;{</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    return ::tan(a);</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;}</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="group__foundation.html#ga437cafb349b7bc7d1d912ab27392bfe9">  216</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga437cafb349b7bc7d1d912ab27392bfe9">PxAsin</a>(<span class="keywordtype">float</span> f)</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;{</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    return ::asinf(<a class="code" href="group__foundation.html#ga9564f55a7dca0986938b8a03e78d6f9f">PxClamp</a>(f, -1.0f, 1.0f));</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;}</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="group__foundation.html#gab6253e62a4ebc9be4560c54756aea29a">  226</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">double</span> <a class="code" href="group__foundation.html#ga437cafb349b7bc7d1d912ab27392bfe9">PxAsin</a>(<span class="keywordtype">double</span> f)</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;{</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    return ::asin(<a class="code" href="group__foundation.html#ga9564f55a7dca0986938b8a03e78d6f9f">PxClamp</a>(f, -1.0, 1.0));</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;}</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="group__foundation.html#ga0953977efc7599071aefadc35e842f97">  236</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga0953977efc7599071aefadc35e842f97">PxAcos</a>(<span class="keywordtype">float</span> f)</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;{</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    return ::acosf(<a class="code" href="group__foundation.html#ga9564f55a7dca0986938b8a03e78d6f9f">PxClamp</a>(f, -1.0f, 1.0f));</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;}</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;</div><div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="group__foundation.html#gafed20db31b2806b91c6b6745bac2f9ae">  246</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">double</span> <a class="code" href="group__foundation.html#ga0953977efc7599071aefadc35e842f97">PxAcos</a>(<span class="keywordtype">double</span> f)</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;{</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    return ::acos(<a class="code" href="group__foundation.html#ga9564f55a7dca0986938b8a03e78d6f9f">PxClamp</a>(f, -1.0, 1.0));</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;}</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="group__foundation.html#gaea3adf6a4e304f82c6646618ad633bd2">  256</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gaea3adf6a4e304f82c6646618ad633bd2">PxAtan</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;{</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    return ::atanf(a);</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;}</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="group__foundation.html#ga9cf210fa59d59f641438771f3c24102f">  266</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">double</span> <a class="code" href="group__foundation.html#gaea3adf6a4e304f82c6646618ad633bd2">PxAtan</a>(<span class="keywordtype">double</span> a)</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;{</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    return ::atan(a);</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;}</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="group__foundation.html#ga3b820cf45fee058a4083d955daa02154">  276</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga3b820cf45fee058a4083d955daa02154">PxAtan2</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y)</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;{</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    return ::atan2f(x, y);</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;}</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;</div><div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="group__foundation.html#gaddaa9e455c2d0ae28111358f6c426056">  286</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">double</span> <a class="code" href="group__foundation.html#ga3b820cf45fee058a4083d955daa02154">PxAtan2</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y)</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;{</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    return ::atan2(x, y);</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;}</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;</div><div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">  292</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(<span class="keywordtype">float</span> f)</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;{</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacephysx_1_1intrinsics.html#a28bd12477f3ca0b092c0b9b61bdfaf04">intrinsics::isFinite</a>(f);</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;}</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div><div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="group__foundation.html#gaa689e47bbd54cfc6a4a1ce5bc7f1a2f6">  298</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(<span class="keywordtype">double</span> f)</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;{</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacephysx_1_1intrinsics.html#a28bd12477f3ca0b092c0b9b61bdfaf04">intrinsics::isFinite</a>(f);</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;}</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;</div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="group__foundation.html#gae0a6cff0842c2d8b1b78656bcd680e1c">  303</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gae0a6cff0842c2d8b1b78656bcd680e1c">PxFloor</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;{</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    return ::floorf(a);</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;}</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="group__foundation.html#gaf478a0d9ce3c6ec717d8fc74684f6cee">  308</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gaf478a0d9ce3c6ec717d8fc74684f6cee">PxExp</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;{</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    return ::expf(a);</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;}</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;</div><div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="group__foundation.html#ga9c45606642752cb98a361b359482c476">  313</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga9c45606642752cb98a361b359482c476">PxCeil</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;{</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;    return ::ceilf(a);</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;}</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;</div><div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="group__foundation.html#ga250e461f84db027c14d3f1e33b8adc9c">  318</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#ga250e461f84db027c14d3f1e33b8adc9c">PxSign</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;{</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacephysx_1_1intrinsics.html#a6656cd9bb69935ec8da869dc773300a3">physx::intrinsics::sign</a>(a);</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;}</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;</div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="group__foundation.html#gae34aa1b4d7a85dbe98e9ed2df79c17a0">  323</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gae34aa1b4d7a85dbe98e9ed2df79c17a0">PxPow</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y)</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;{</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    return ::powf(x, y);</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;}</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;</div><div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="group__foundation.html#gae43dc1649f209f1142a57cf14b200ad2">  328</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keywordtype">float</span> <a class="code" href="group__foundation.html#gae43dc1649f209f1142a57cf14b200ad2">PxLog</a>(<span class="keywordtype">float</span> x)</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;{</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;    return ::logf(x);</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;}</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;} <span class="comment">// namespace physx</span></div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<span class="preprocessor">#endif // #ifndef PXFOUNDATION_PXMATH_H</span></div><div class="ttc" id="namespacephysx_html"><div class="ttname"><a href="namespacephysx.html">physx</a></div><div class="ttdef"><b>Definition:</b> GuContactBuffer.h:37</div></div>
<div class="ttc" id="group__foundation_html_gae34aa1b4d7a85dbe98e9ed2df79c17a0"><div class="ttname"><a href="group__foundation.html#gae34aa1b4d7a85dbe98e9ed2df79c17a0">PxPow</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxPow(float x, float y)</div><div class="ttdef"><b>Definition:</b> PxMath.h:323</div></div>
<div class="ttc" id="group__foundation_html_ga3b820cf45fee058a4083d955daa02154"><div class="ttname"><a href="group__foundation.html#ga3b820cf45fee058a4083d955daa02154">PxAtan2</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxAtan2(float x, float y)</div><div class="ttdoc">Arctangent of (x/y) with correct sign. Returns angle between -PI and PI in radians Unit: Radians...</div><div class="ttdef"><b>Definition:</b> PxMath.h:276</div></div>
<div class="ttc" id="namespacephysx_1_1intrinsics_html_a8dcc85a5e81948939ab66345dbcc3bbb"><div class="ttname"><a href="namespacephysx_1_1intrinsics.html#a8dcc85a5e81948939ab66345dbcc3bbb">physx::intrinsics::sqrt</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float sqrt(float a)</div><div class="ttdoc">platform-specific square root </div><div class="ttdef"><b>Definition:</b> PxUnixIntrinsics.h:86</div></div>
<div class="ttc" id="PxWindowsIntrinsics_8h_html_a93316de46822f61a4fb79f603d05be61"><div class="ttname"><a href="PxWindowsIntrinsics_8h.html#a93316de46822f61a4fb79f603d05be61">sqrt</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float sqrt(float a)</div><div class="ttdoc">platform-specific square root </div><div class="ttdef"><b>Definition:</b> PxWindowsIntrinsics.h:81</div></div>
<div class="ttc" id="group__foundation_html_gabcd49a429b8119de54375b3538ae8a8d"><div class="ttname"><a href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a></div><div class="ttdeci">static const float PxPi</div><div class="ttdef"><b>Definition:</b> PxMath.h:58</div></div>
<div class="ttc" id="group__foundation_html_gaf478a0d9ce3c6ec717d8fc74684f6cee"><div class="ttname"><a href="group__foundation.html#gaf478a0d9ce3c6ec717d8fc74684f6cee">PxExp</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxExp(float a)</div><div class="ttdef"><b>Definition:</b> PxMath.h:308</div></div>
<div class="ttc" id="namespacephysx_1_1intrinsics_html_a08df84250266fb3fdc92737e25211e40"><div class="ttname"><a href="namespacephysx_1_1intrinsics.html#a08df84250266fb3fdc92737e25211e40">physx::intrinsics::recipSqrt</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float recipSqrt(float a)</div><div class="ttdoc">platform-specific reciprocal square root </div><div class="ttdef"><b>Definition:</b> PxUnixIntrinsics.h:92</div></div>
<div class="ttc" id="PxPreprocessor_8h_html"><div class="ttname"><a href="PxPreprocessor_8h.html">PxPreprocessor.h</a></div></div>
<div class="ttc" id="group__foundation_html_ga6a774eed3cad34b0f636332a3d28c6bb"><div class="ttname"><a href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a></div><div class="ttdeci">#define PX_FORCE_INLINE</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:351</div></div>
<div class="ttc" id="group__foundation_html_ga98f571cc01fc3aa0e73e215c27ab8069"><div class="ttname"><a href="group__foundation.html#ga98f571cc01fc3aa0e73e215c27ab8069">PxSin</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxSin(float a)</div><div class="ttdoc">trigonometry – all angles are in radians. </div><div class="ttdef"><b>Definition:</b> PxMath.h:170</div></div>
<div class="ttc" id="PxSharedAssert_8h_html"><div class="ttname"><a href="PxSharedAssert_8h.html">PxSharedAssert.h</a></div></div>
<div class="ttc" id="group__foundation_html_gae43dc1649f209f1142a57cf14b200ad2"><div class="ttname"><a href="group__foundation.html#gae43dc1649f209f1142a57cf14b200ad2">PxLog</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxLog(float x)</div><div class="ttdef"><b>Definition:</b> PxMath.h:328</div></div>
<div class="ttc" id="group__foundation_html_gaadbc7232bb8117014d359b6e63967170"><div class="ttname"><a href="group__foundation.html#gaadbc7232bb8117014d359b6e63967170">PxPiDivTwo</a></div><div class="ttdeci">static const float PxPiDivTwo</div><div class="ttdef"><b>Definition:</b> PxMath.h:63</div></div>
<div class="ttc" id="group__foundation_html_ga17a46314a8577460d3840466cb12a331"><div class="ttname"><a href="group__foundation.html#ga17a46314a8577460d3840466cb12a331">PxHalfPi</a></div><div class="ttdeci">static const float PxHalfPi</div><div class="ttdef"><b>Definition:</b> PxMath.h:59</div></div>
<div class="ttc" id="namespacephysx_1_1intrinsics_html_af05df5a859fc7e8aa5ce37e7a511d657"><div class="ttname"><a href="namespacephysx_1_1intrinsics.html#af05df5a859fc7e8aa5ce37e7a511d657">physx::intrinsics::selectMin</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float selectMin(float a, float b)</div><div class="ttdoc">platform-specific minimum </div><div class="ttdef"><b>Definition:</b> PxUnixIntrinsics.h:115</div></div>
<div class="ttc" id="group__foundation_html_ga9564f55a7dca0986938b8a03e78d6f9f"><div class="ttname"><a href="group__foundation.html#ga9564f55a7dca0986938b8a03e78d6f9f">PxClamp</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE T PxClamp(T v, T lo, T hi)</div><div class="ttdoc">Clamps v to the range [hi,lo]. </div><div class="ttdef"><b>Definition:</b> PxMath.h:137</div></div>
<div class="ttc" id="namespacephysx_1_1intrinsics_html_a50b7966b3196dc1a6c4d9b611627ed9d"><div class="ttname"><a href="namespacephysx_1_1intrinsics.html#a50b7966b3196dc1a6c4d9b611627ed9d">physx::intrinsics::selectMax</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float selectMax(float a, float b)</div><div class="ttdoc">platform-specific maximum </div><div class="ttdef"><b>Definition:</b> PxUnixIntrinsics.h:121</div></div>
<div class="ttc" id="group__foundation_html_ga07ffc52cd4afa8e797a5fe6e1cb7e17a"><div class="ttname"><a href="group__foundation.html#ga07ffc52cd4afa8e797a5fe6e1cb7e17a">PX_SHARED_ASSERT</a></div><div class="ttdeci">#define PX_SHARED_ASSERT(exp)</div><div class="ttdef"><b>Definition:</b> PxSharedAssert.h:39</div></div>
<div class="ttc" id="namespacephysx_1_1intrinsics_html_a6656cd9bb69935ec8da869dc773300a3"><div class="ttname"><a href="namespacephysx_1_1intrinsics.html#a6656cd9bb69935ec8da869dc773300a3">physx::intrinsics::sign</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float sign(float a)</div><div class="ttdoc">platform-specific sign </div><div class="ttdef"><b>Definition:</b> PxUnixIntrinsics.h:68</div></div>
<div class="ttc" id="namespacephysx_1_1intrinsics_html_a28bd12477f3ca0b092c0b9b61bdfaf04"><div class="ttname"><a href="namespacephysx_1_1intrinsics.html#a28bd12477f3ca0b092c0b9b61bdfaf04">physx::intrinsics::isFinite</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE bool isFinite(float a)</div><div class="ttdoc">platform-specific finiteness check (not INF or NAN) </div><div class="ttdef"><b>Definition:</b> PxUnixIntrinsics.h:127</div></div>
<div class="ttc" id="namespacephysx_1_1intrinsics_html_a2b6304c3d6e0b90be513f31aa224f4be"><div class="ttname"><a href="namespacephysx_1_1intrinsics.html#a2b6304c3d6e0b90be513f31aa224f4be">physx::intrinsics::cos</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float cos(float a)</div><div class="ttdoc">platform-specific cosine </div><div class="ttdef"><b>Definition:</b> PxUnixIntrinsics.h:109</div></div>
<div class="ttc" id="group__foundation_html_ga9c45606642752cb98a361b359482c476"><div class="ttname"><a href="group__foundation.html#ga9c45606642752cb98a361b359482c476">PxCeil</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxCeil(float a)</div><div class="ttdef"><b>Definition:</b> PxMath.h:313</div></div>
<div class="ttc" id="group__foundation_html_ga11d5e4e77acad728886b380b5f3806f0"><div class="ttname"><a href="group__foundation.html#ga11d5e4e77acad728886b380b5f3806f0">PxSqrt</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxSqrt(float a)</div><div class="ttdoc">Square root. </div><div class="ttdef"><b>Definition:</b> PxMath.h:144</div></div>
<div class="ttc" id="PxWindowsIntrinsics_8h_html_ae1934f6d8ecf82dbfb597f965fb09846"><div class="ttname"><a href="PxWindowsIntrinsics_8h.html#ae1934f6d8ecf82dbfb597f965fb09846">sin</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float sin(float a)</div><div class="ttdoc">platform-specific sine </div><div class="ttdef"><b>Definition:</b> PxWindowsIntrinsics.h:99</div></div>
<div class="ttc" id="group__foundation_html_gad5970e1d62cfec4e6872517638e7ee61"><div class="ttname"><a href="group__foundation.html#gad5970e1d62cfec4e6872517638e7ee61">PxInvPi</a></div><div class="ttdeci">static const float PxInvPi</div><div class="ttdef"><b>Definition:</b> PxMath.h:61</div></div>
<div class="ttc" id="group__foundation_html_gaee8f7127123da8f1a6aba82ee0bab638"><div class="ttname"><a href="group__foundation.html#gaee8f7127123da8f1a6aba82ee0bab638">PxInvTwoPi</a></div><div class="ttdeci">static const float PxInvTwoPi</div><div class="ttdef"><b>Definition:</b> PxMath.h:62</div></div>
<div class="ttc" id="namespacephysx_1_1intrinsics_html_a1b8acec0126e65de2a202041259dbc24"><div class="ttname"><a href="namespacephysx_1_1intrinsics.html#a1b8acec0126e65de2a202041259dbc24">physx::intrinsics::abs</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float abs(float a)</div><div class="ttdoc">platform-specific absolute value </div><div class="ttdef"><b>Definition:</b> PxUnixIntrinsics.h:56</div></div>
<div class="ttc" id="group__foundation_html_ga19ecbe58dd6039373c15c8452550bd07"><div class="ttname"><a href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE T PxMin(T a, T b)</div><div class="ttdoc">The return value is the lesser of the two specified values. </div><div class="ttdef"><b>Definition:</b> PxMath.h:86</div></div>
<div class="ttc" id="group__foundation_html_ga3773ce018f51c7f8f2c061faab2d411b"><div class="ttname"><a href="group__foundation.html#ga3773ce018f51c7f8f2c061faab2d411b">PxTwoPi</a></div><div class="ttdeci">static const float PxTwoPi</div><div class="ttdef"><b>Definition:</b> PxMath.h:60</div></div>
<div class="ttc" id="PxIntrinsics_8h_html"><div class="ttname"><a href="PxIntrinsics_8h.html">PxIntrinsics.h</a></div></div>
<div class="ttc" id="group__foundation_html_gacd945627f345ba03e83a30387ab99dea"><div class="ttname"><a href="group__foundation.html#gacd945627f345ba03e83a30387ab99dea">PxRecipSqrt</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxRecipSqrt(float a)</div><div class="ttdoc">reciprocal square root. </div><div class="ttdef"><b>Definition:</b> PxMath.h:156</div></div>
<div class="ttc" id="group__foundation_html_gacc501523ad3ab46c5a061c4442d10fcf"><div class="ttname"><a href="group__foundation.html#gacc501523ad3ab46c5a061c4442d10fcf">PxCos</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxCos(float a)</div><div class="ttdoc">Cosine of an angle (Unit: Radians) </div><div class="ttdef"><b>Definition:</b> PxMath.h:182</div></div>
<div class="ttc" id="group__foundation_html_gaf72e1dce9e874da7b92cbc0ea5e4e30d"><div class="ttname"><a href="group__foundation.html#gaf72e1dce9e874da7b92cbc0ea5e4e30d">PxAbs</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxAbs(float a)</div><div class="ttdoc">abs returns the absolute value of its argument. </div><div class="ttdef"><b>Definition:</b> PxMath.h:107</div></div>
<div class="ttc" id="group__foundation_html_gabb5e8a2eee08bb16174c87dedbe49498"><div class="ttname"><a href="group__foundation.html#gabb5e8a2eee08bb16174c87dedbe49498">PxEquals</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxEquals(float a, float b, float eps)</div><div class="ttdef"><b>Definition:</b> PxMath.h:112</div></div>
<div class="ttc" id="group__foundation_html_gaa014664f566202f7be1b2caa5625ffd6"><div class="ttname"><a href="group__foundation.html#gaa014664f566202f7be1b2caa5625ffd6">PxMax</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE T PxMax(T a, T b)</div><div class="ttdoc">The return value is the greater of the two specified values. </div><div class="ttdef"><b>Definition:</b> PxMath.h:70</div></div>
<div class="ttc" id="group__foundation_html_gacb4cd96e4188d5cc377ab184d5eef081"><div class="ttname"><a href="group__foundation.html#gacb4cd96e4188d5cc377ab184d5eef081">PxPiDivFour</a></div><div class="ttdeci">static const float PxPiDivFour</div><div class="ttdef"><b>Definition:</b> PxMath.h:64</div></div>
<div class="ttc" id="PxWindowsIntrinsics_8h_html_a87498b7c02e15d4a59213016c7d1f4e8"><div class="ttname"><a href="PxWindowsIntrinsics_8h.html#a87498b7c02e15d4a59213016c7d1f4e8">cos</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float cos(float a)</div><div class="ttdoc">platform-specific cosine </div><div class="ttdef"><b>Definition:</b> PxWindowsIntrinsics.h:105</div></div>
<div class="ttc" id="group__foundation_html_ga437cafb349b7bc7d1d912ab27392bfe9"><div class="ttname"><a href="group__foundation.html#ga437cafb349b7bc7d1d912ab27392bfe9">PxAsin</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxAsin(float f)</div><div class="ttdoc">Arcsine. Returns angle between -PI/2 and PI/2 in radians Unit: Radians. </div><div class="ttdef"><b>Definition:</b> PxMath.h:216</div></div>
<div class="ttc" id="group__foundation_html_ga250e461f84db027c14d3f1e33b8adc9c"><div class="ttname"><a href="group__foundation.html#ga250e461f84db027c14d3f1e33b8adc9c">PxSign</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxSign(float a)</div><div class="ttdef"><b>Definition:</b> PxMath.h:318</div></div>
<div class="ttc" id="group__foundation_html_gad6de0f4af98c5c5280b8fe695dc87318"><div class="ttname"><a href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxIsFinite(float f)</div><div class="ttdoc">returns true if the passed number is a finite floating point number as opposed to INF...</div><div class="ttdef"><b>Definition:</b> PxMath.h:292</div></div>
<div class="ttc" id="group__foundation_html_gae0a6cff0842c2d8b1b78656bcd680e1c"><div class="ttname"><a href="group__foundation.html#gae0a6cff0842c2d8b1b78656bcd680e1c">PxFloor</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxFloor(float a)</div><div class="ttdef"><b>Definition:</b> PxMath.h:303</div></div>
<div class="ttc" id="PxWindowsIntrinsics_8h_html_a1cf5e31b1076fc655d2a46a5257d6590"><div class="ttname"><a href="PxWindowsIntrinsics_8h.html#a1cf5e31b1076fc655d2a46a5257d6590">abs</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float abs(float a)</div><div class="ttdoc">platform-specific absolute value </div><div class="ttdef"><b>Definition:</b> PxWindowsIntrinsics.h:51</div></div>
<div class="ttc" id="namespacephysx_1_1intrinsics_html_a5bc50b113da405bd05de0630836571db"><div class="ttname"><a href="namespacephysx_1_1intrinsics.html#a5bc50b113da405bd05de0630836571db">physx::intrinsics::sin</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float sin(float a)</div><div class="ttdoc">platform-specific sine </div><div class="ttdef"><b>Definition:</b> PxUnixIntrinsics.h:103</div></div>
<div class="ttc" id="group__foundation_html_ga0953977efc7599071aefadc35e842f97"><div class="ttname"><a href="group__foundation.html#ga0953977efc7599071aefadc35e842f97">PxAcos</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxAcos(float f)</div><div class="ttdoc">Arccosine. Returns angle between 0 and PI in radians Unit: Radians. </div><div class="ttdef"><b>Definition:</b> PxMath.h:236</div></div>
<div class="ttc" id="group__foundation_html_gaea3adf6a4e304f82c6646618ad633bd2"><div class="ttname"><a href="group__foundation.html#gaea3adf6a4e304f82c6646618ad633bd2">PxAtan</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxAtan(float a)</div><div class="ttdoc">ArcTangent. Returns angle between -PI/2 and PI/2 in radians Unit: Radians. </div><div class="ttdef"><b>Definition:</b> PxMath.h:256</div></div>
<div class="ttc" id="group__foundation_html_ga6e444d58dbf1459261fadc9b79594f63"><div class="ttname"><a href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a></div><div class="ttdeci">#define PX_CUDA_CALLABLE</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:460</div></div>
<div class="ttc" id="group__foundation_html_ga7b8deaee36a7d45581d4706ae6c9905b"><div class="ttname"><a href="group__foundation.html#ga7b8deaee36a7d45581d4706ae6c9905b">PxTan</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxTan(float a)</div><div class="ttdoc">Tangent of an angle. Unit: Radians. </div><div class="ttdef"><b>Definition:</b> PxMath.h:197</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_266c30cc99b40eba7d94345de82f8db9.html">packman-repo</a></li><li class="navelem"><a class="el" href="dir_44fe44e2771711da9c667697b685dcda.html">PxShared-public</a></li><li class="navelem"><a class="el" href="dir_e1dbf85b29c2f923267acb78e2c299dd.html">1.1.trunk.29467035</a></li><li class="navelem"><a class="el" href="dir_67f783feb5a64e036eee501a17b4317a.html">include</a></li><li class="navelem"><a class="el" href="dir_d5f223569182be7fb9b876919d20e64f.html">foundation</a></li><li class="navelem"><a class="el" href="PxMath_8h.html">PxMath.h</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
